.class public Lcom/xingbook/park/view/FrameView;
.super Landroid/widget/ImageView;


# instance fields
.field private a:[I

.field private b:I

.field private c:I

.field private d:Z

.field private e:Z

.field private f:I

.field private g:I

.field private h:[I

.field private i:Z

.field private j:I

.field private k:Lcom/xingbook/park/view/i;

.field private l:Z

.field private m:I

.field private n:Landroid/os/Handler;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 3

    const/4 v2, 0x0

    const/4 v1, -0x1

    const/4 v0, 0x0

    invoke-direct {p0, p1, p2}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iput v0, p0, Lcom/xingbook/park/view/FrameView;->b:I

    iput v0, p0, Lcom/xingbook/park/view/FrameView;->c:I

    iput-boolean v0, p0, Lcom/xingbook/park/view/FrameView;->d:Z

    iput-boolean v0, p0, Lcom/xingbook/park/view/FrameView;->e:Z

    iput v1, p0, Lcom/xingbook/park/view/FrameView;->f:I

    iput v1, p0, Lcom/xingbook/park/view/FrameView;->g:I

    iput-object v2, p0, Lcom/xingbook/park/view/FrameView;->h:[I

    iput-boolean v0, p0, Lcom/xingbook/park/view/FrameView;->i:Z

    iput v0, p0, Lcom/xingbook/park/view/FrameView;->j:I

    iput-object v2, p0, Lcom/xingbook/park/view/FrameView;->k:Lcom/xingbook/park/view/i;

    iput-boolean v0, p0, Lcom/xingbook/park/view/FrameView;->l:Z

    const/4 v0, 0x4

    iput v0, p0, Lcom/xingbook/park/view/FrameView;->m:I

    new-instance v0, Lcom/xingbook/park/view/h;

    invoke-direct {v0, p0}, Lcom/xingbook/park/view/h;-><init>(Lcom/xingbook/park/view/FrameView;)V

    iput-object v0, p0, Lcom/xingbook/park/view/FrameView;->n:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/view/FrameView;I)V
    .locals 0

    iput p1, p0, Lcom/xingbook/park/view/FrameView;->b:I

    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/view/FrameView;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/park/view/FrameView;->d:Z

    return v0
.end method

.method static synthetic b(Lcom/xingbook/park/view/FrameView;)I
    .locals 1

    iget v0, p0, Lcom/xingbook/park/view/FrameView;->b:I

    return v0
.end method

.method static synthetic b(Lcom/xingbook/park/view/FrameView;I)V
    .locals 0

    iput p1, p0, Lcom/xingbook/park/view/FrameView;->c:I

    return-void
.end method

.method static synthetic c(Lcom/xingbook/park/view/FrameView;)I
    .locals 1

    iget v0, p0, Lcom/xingbook/park/view/FrameView;->f:I

    return v0
.end method

.method static synthetic d(Lcom/xingbook/park/view/FrameView;)I
    .locals 1

    iget v0, p0, Lcom/xingbook/park/view/FrameView;->m:I

    return v0
.end method

.method static synthetic e(Lcom/xingbook/park/view/FrameView;)Lcom/xingbook/park/view/i;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/view/FrameView;->k:Lcom/xingbook/park/view/i;

    return-object v0
.end method

.method static synthetic f(Lcom/xingbook/park/view/FrameView;)I
    .locals 1

    iget v0, p0, Lcom/xingbook/park/view/FrameView;->c:I

    return v0
.end method

.method static synthetic g(Lcom/xingbook/park/view/FrameView;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/park/view/FrameView;->e:Z

    return v0
.end method

.method static synthetic h(Lcom/xingbook/park/view/FrameView;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/park/view/FrameView;->l:Z

    return v0
.end method

.method static synthetic i(Lcom/xingbook/park/view/FrameView;)I
    .locals 1

    iget v0, p0, Lcom/xingbook/park/view/FrameView;->g:I

    return v0
.end method

.method static synthetic j(Lcom/xingbook/park/view/FrameView;)[I
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/view/FrameView;->h:[I

    return-object v0
.end method

.method static synthetic k(Lcom/xingbook/park/view/FrameView;)I
    .locals 1

    iget v0, p0, Lcom/xingbook/park/view/FrameView;->j:I

    return v0
.end method

.method static synthetic l(Lcom/xingbook/park/view/FrameView;)[I
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/view/FrameView;->a:[I

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 3

    const/4 v2, 0x0

    iget-boolean v0, p0, Lcom/xingbook/park/view/FrameView;->d:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/view/FrameView;->k:Lcom/xingbook/park/view/i;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/view/FrameView;->k:Lcom/xingbook/park/view/i;

    invoke-interface {v0}, Lcom/xingbook/park/view/i;->b()V

    :cond_0
    iput-boolean v2, p0, Lcom/xingbook/park/view/FrameView;->d:Z

    iget-object v0, p0, Lcom/xingbook/park/view/FrameView;->n:Landroid/os/Handler;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/view/FrameView;->n:Landroid/os/Handler;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    :cond_1
    iget-boolean v0, p0, Lcom/xingbook/park/view/FrameView;->i:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/view/FrameView;->h:[I

    aget v0, v0, v2

    invoke-virtual {p0, v0}, Lcom/xingbook/park/view/FrameView;->setBackgroundResource(I)V

    :cond_2
    return-void
.end method

.method public getListener()Lcom/xingbook/park/view/i;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/view/FrameView;->k:Lcom/xingbook/park/view/i;

    return-object v0
.end method

.method public getPercentIndex()I
    .locals 1

    iget v0, p0, Lcom/xingbook/park/view/FrameView;->m:I

    return v0
.end method

.method protected onDraw(Landroid/graphics/Canvas;)V
    .locals 0

    invoke-super {p0, p1}, Landroid/widget/ImageView;->onDraw(Landroid/graphics/Canvas;)V

    return-void
.end method

.method protected onLayout(ZIIII)V
    .locals 0

    return-void
.end method

.method public setListener(Lcom/xingbook/park/view/i;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/view/FrameView;->k:Lcom/xingbook/park/view/i;

    return-void
.end method

.method public setPercentIndex(I)V
    .locals 0

    iput p1, p0, Lcom/xingbook/park/view/FrameView;->m:I

    return-void
.end method

.method public setReversal(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/xingbook/park/view/FrameView;->l:Z

    return-void
.end method

.method public setRunning(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/xingbook/park/view/FrameView;->d:Z

    return-void
.end method

.method public setStopAtFirst(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/xingbook/park/view/FrameView;->i:Z

    return-void
.end method
